package com.foreveross.util.cfg.defaults;

import com.foreveross.util.cfg.ConfigContainer;
import com.foreveross.util.cfg.ConfigLocalLoader;
import com.foreveross.util.cfg.PropertiesConfigLocalLoader;

public class DefaultPropertiesLoader extends PropertiesConfigLocalLoader
		implements ConfigLocalLoader {

	public final static String CONFIG_FILE = "props/config.properties";

	public String getFileName() {
		return CONFIG_FILE;
	}

	/**
	 * delay, long period
	 */
	public static final String MQPENSATE_TIMER_DELAY = "mqpensate.timer.delay";
	public static final String MQPENSATE_TIMER_PERIOD = "mqpensate.timer.period";
	
	
	public static String getMqpensateTimerDelay(){
		return ConfigContainer.getInstance().get(MQPENSATE_TIMER_DELAY, CONFIG_FILE);
		
	}	
	
	public static String getMqpensateTimerPeriod(){
		return ConfigContainer.getInstance().get(MQPENSATE_TIMER_PERIOD, CONFIG_FILE);
		
	}	
	
	public static void main(String[] args){
		
	}
	

}
